Skip to content

gh-106318: Add examples for str.partition() method#142823

Merged
hugovk merged 4 commits intopython:mainfrom
adorilson:106318.partition
Feb 8, 2026
Merged

gh-106318: Add examples for str.partition() method#142823
hugovk merged 4 commits intopython:mainfrom
adorilson:106318.partition

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Dec 16, 2025

WIP to #106318

#106318: Add examples for str.partition() method


📚 Documentation preview 📚: https://cpython-previews--142823.org.readthedocs.build/

Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest adding a third example, one that shows what happens when there are multiple of sep in the string.

@adorilson
Copy link
Contributor Author

I suggest adding a third example, one that shows what happens when there are multiple of sep in the string.

Done.

@hugovk hugovk merged commit 432ddd9 into python:main Feb 8, 2026
28 checks passed
@hugovk hugovk added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Feb 8, 2026
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Feb 8, 2026
@miss-islington-app
Copy link

Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)

(cherry picked from commit 432ddd99e2b06a75a4f47bd99c0fd0c911bdb19c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)

(cherry picked from commit 432ddd99e2b06a75a4f47bd99c0fd0c911bdb19c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)

(cherry picked from commit 432ddd99e2b06a75a4f47bd99c0fd0c911bdb19c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Feb 8, 2026

GH-144611 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Feb 8, 2026
@bedevere-app
Copy link

bedevere-app bot commented Feb 8, 2026

GH-144612 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Feb 8, 2026
@miss-islington-app

This comment was marked as outdated.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)

(cherry picked from commit 432ddd9)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@miss-islington-app

This comment was marked as outdated.

hugovk pushed a commit that referenced this pull request Feb 8, 2026
…#144612)

gh-106318: Add examples for str.partition() method (GH-142823)
(cherry picked from commit 432ddd9)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
hugovk pushed a commit that referenced this pull request Feb 8, 2026
…#144611)

gh-106318: Add examples for str.partition() method (GH-142823)
(cherry picked from commit 432ddd9)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants